<?php

session_start();


?>
<html>
    <head>
        <title> Shop Virtual </title>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <link rel="icon" href="img/e-commerce.png" />
        <link rel="stylesheet" type="text/css" href="style/layout1.css" media="all" />
    </head>
    <body >
            <div id="fb-root"></div>
            <script>(function(d, s, id) {
            var js, fjs = d.getElementsByTagName(s)[0];
            if (d.getElementById(id)) return;
            js = d.createElement(s); js.id = id;
            js.src = "//connect.facebook.net/pt_BR/all.js#xfbml=1";
            fjs.parentNode.insertBefore(js, fjs);
            }(document, 'script', 'facebook-jssdk'));</script>
            
            
            
        <div id="container">
            <div id="header" > <a href="?id=home"><div id="tit">Shop Virtual</div></a></div>
            <div id="left">
                <ul>
                    <li>Informátina
                        <ul>
                            <li><a class="menu" href="?id=1">iPad / Tablets</a></li>
                            <li><a class="menu" href="?id=2" >Notebooks / Netbooks</a></li>
                            <li><a class="menu" href="?id=3" >Computadores</a></li>
                            <li><a class="menu" href="?id=4" >Pen Drives</a></li>
                            <li><a class="menu" href="?id=5" >Software</a></li>
                            <li><a class="menu" href="?id=6" >Games</a></li>
                        </ul>
                    </li>
                    <li>Imagem e Som
                        <ul>
                            <li><a class="menu" href="?id=7" >TV Led / LCD</a></li>
                            <li><a class="menu" href="?id=8" >Cameras Digitais</a></li>
                            <li><a class="menu" href="?id=9" >Aparelho de Som</a></li>
                            <li><a class="menu" href="?id=10">Filmadoras</a></li>
                            <li><a class="menu" href="?id=11">Projetores</a></li>
                            <li><a class="menu" href="?id=12">Caixas de Som</a></li>
                        </ul>
                    </li>
                    <li>Telefonia
                        <ul>
                            <li><a class="menu" href="?id=13" >Celulares / Smartphones</a></li>
                            <li><a class="menu" href="?id=17" >Fax</a></li>
                            <li><a class="menu" href="?id=18" >Acessório para Celular</a></li>
                            <li><a class="menu" href="?id=19" >Telefone com Fio</a></li>
                            <li><a class="menu" href="?id=20" >Telefone sem Fio</a></li>
                        </ul>
                    </li>
                    <li></li>
                </ul>
                
            </div>
            <div id="content">
                <?php
                       
                       $idp = $_GET['id'];
                       
                       if( $idp =='home' or $idp == NULL ) {
                           require 'home.php';
                       }else{
                            
                            require 'produtos.xhtml';
                            
                            
                      }
                         
                  ?>
            </div>
            <div id="footer"><div class="fb-like" data-send="true" data-width="450" data-show-faces="true"></div></div>
            
        </div>
    </body>
</html>
